package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    //登录
    Employee findByUsername(String username);
        //查询
    List<Employee> findList(String name);
    //  新增
    void save(Employee employee);
    // 回显
    Employee findByid(Long id);
    // 修改
   // int updateById(Employee employee);
}



